package com.ayu.gulimall.seckill.feign;


import com.ayu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("gulimall-product/product/skuinfo")
public interface ProductServiceFeign {

    @RequestMapping("/info/{skuId}")
    public R info(@PathVariable("skuId") Long skuId);
}
